:: 1. 读取当前“Active code page”并保存到变量内
for /f "tokens=2 delims=:" %%i in ('chcp') do set "CurrentCodePage=%%i"
set "CurrentCodePage=%CurrentCodePage:~1%"

:: 2. 切换“Active code page”为“65001”
chcp 65001

:: 在这里执行你需要在code page 936下运行的命令

set src_path=X:
set dst_path=U:

set dir=\svn_backup
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\Temp
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\daily_work_records
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\documents\技术资料\售前技术资料
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\documents
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\evcc_test_002_first
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\evcc_upgrade_tool
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\evcc-15118
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\mes_server_run_time
robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\python_tools
::robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

set dir=\local_work_svn\util_docs
::robocopy %src_path%%dir% %dst_path%%dir% /XO /S /E /MT:32 /V /UNILOG:log.txt /TEE /UNICODE

pause

:: 3. 还原“Active code page”为变量内保存的值
chcp %CurrentCodePage%

